set(XernProtocol_SRC
	ClientSession.cpp
	ClientSession.hpp
	ControlMessage.cpp
	ControlMessage.hpp
	EntityMessages.cpp
	EntityMessages.hpp	
	GridClient.cpp
	GridClient.hpp
	GridNode.cpp
	GridNode.hpp
	GridNodeFactory.cpp
	GridServer.cpp
	GridServer.hpp
	IMessage.hpp
	IMessageDecoder.hpp
	Message.cpp
	Message.hpp
	Packet.cpp
	Packet.hpp
	PlayerMessages.cpp
	PlayerMessages.hpp
	RegionMessages.cpp
	RegionMessages.hpp
	RemoteObject.cpp
	RemoteObject.hpp
	RemotePlayer.cpp
	RemotePlayer.hpp
	RemoteRegion.cpp
	RemoteRegion.hpp
	ResourceMessages.cpp
	ResourceMessages.hpp
	ServerSession.cpp
	ServerSession.hpp
	Session.cpp
	Session.hpp
	SessionMessage.cpp
	SessionMessage.hpp
	TransferManager.cpp
	TransferManager.hpp
)

add_library(XernProtocol MODULE ${XernProtocol_SRC})
target_link_libraries(XernProtocol Xern)
